package org.cttic.visualization.visualization.controller;


import org.cttic.visualization.visualization.service.IdentifyPointService;
import org.cttic.visualization.visualization.util.ResponseObject;
import org.elasticsearch.client.transport.TransportClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * 2.2.4识别点基础资料查询接口
 * @author zzo
 */

@RestController
@RequestMapping("/identifyPoint")
@CrossOrigin
public class IdentifyPointController {


    @Autowired
    IdentifyPointService identifyPoint;


    @PostMapping("/infos")
    public ResponseObject  pointsInfo(@RequestBody Map<String, String> info){

        return identifyPoint.pointsInfo(info);
    }
}
